<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
    <?php echo $this->headTitle($this->title); ?>
    <?php
    //import css
    $this->headLink()->appendStylesheet('/css/style.css');
    $this->headLink()->appendStylesheet('/css/bootstrap.css');     
    echo $this->headLink();
    //import javascript in appycation 
    $this->headScript()->appendFile('/js/jquery-1.8.2.min.js');
    $this->headScript()->appendFile('/js/jquery-ui.min.js');
	$this->headScript()->appendFile('/js/bootstrap.min.js');
    $this->headScript()->appendFile('/js/jquery.popupWindow.js');
    
    echo $this->headScript();
    ?>
	 <!--[if lt IE 10]>
        <script type="text/javascript" src="js/html5shiv.js"></script>
    <![endif]-->
    <script type="text/javascript">
        $(document).ready(function(){
            $('.carousel').carousel();
        });
    </script>
</head>
<?php $controllerName = Zend_Controller_Front::getInstance()->getRequest()->getControllerName();?>
<body id="<?php echo $controllerName;?>">
<header>
            <div class="container">
                <?php echo $this->action('banner', 'elements');?>    
            </div><!--End .container-->
            
        </header>
        <div class="group" style="border-bottom: none;">
            <div class="bg-other">
                <img src="<?php echo $this->baseUrl();?>/img/bgOther.png" alt="" />
            </div>
            <div class="container">
                <div class="row">
                    <?php echo $this->action('supports', 'elements');?>
                    <?php echo $this->action('slidehome', 'elements');?>
                </div><!--End .row-fluid-->
                <?php if($controllerName == "index"){ echo $this->action('best-product', 'elements'); }?>
            </div><!--End .container-->
        </div>
        <div class="container custompage-content">
            <div class="row">
                <div class="sidebar-category span3">
                    <?php echo $this->action('categoriessb', 'elements');?>
                </div>
                <div class="content-right span9">
                    <?php echo $this->layout()->content ?>
                </div>
            </div>
        </div>
        <?php if($controllerName == "index"){ echo $this->action('home-footer', 'elements');}?>
        <?php echo $this->action('footer', 'elements');?>
</body>
</html>
